package cn.com.landsky.alarm.entity;

import cn.com.landsky.alarm.common.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author qing.yunhui 
 * @Since 2011-2019
 * @create 2019-01-03 14:04:03
 * @history
 */
@Getter
@Setter
public class AlarmMessage extends BaseEntity<Long> {

	//columns START
	/**
	 * @Fields id:主键id
	 */
	@ApiModelProperty(hidden = true)
	private Long id;
	
	/**
	 * @Fields deviceNumber:设备编号
	 */
	@ApiModelProperty(name="deviceNumber",value="设备编号",required = true)
	private String deviceNumber;
	
	/**
	 * @Fields deviceName:设备别名
	 */
	@ApiModelProperty(name="deviceName",value="设备别名")
	private String deviceName;
	
	/**
	 * @Fields title:标题
	 */
	@ApiModelProperty(name="title",value="标题")
	private String title;
	
	/**
	 * @Fields content:内容
	 */
	@ApiModelProperty(name="content",value="内容")
	private String content;
	
	/**
	 * @Fields type:呼叫类型(1.文本、2.音频)
	 */
	@ApiModelProperty(name="type",value="呼叫类型(1.文本、2.音频)")
	private Integer type;
	
	/**
	 * @Fields gmtCreate:创建时间
	 */
	@ApiModelProperty(hidden = true)
	private Date gmtCreate;
	
	/**
	 * @Fields gmtUpdate:修改时间
	 */
	@ApiModelProperty(hidden = true)
	private Date gmtUpdate;
	
	/**
	 * @Fields state:状态
	 */
	@ApiModelProperty(name="state",value="状态")
	private Integer state;

	/**
	 * @Fields remark:备注
	 */
	@ApiModelProperty(name="remark",value="备注")
	private String remark;
	
	//columns END

}